﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Collections;
using PortalMainService.Dominio;

namespace PortalMainService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ICursos" in both code and config file together.
    [ServiceContract]
    public interface ICursos
    {
       
        [OperationContract]
        Curso obtenerCurso(int id);
        [OperationContract]
        Curso modificarCurso(int id, string nombre, string tipo, string resposable, int duracionHoras, string preRequisito);
        [OperationContract]
        List<Curso> listarCursos();

    }

   
}
